<?php
namespace Admin\Model;
use Think\Model;

class UserModel extends Model 
{
	protected $tableName = 'admin';
	protected $_validate = array(
			array('username','require','用户名不能为空'),
			array('userpass','require','用户密码不能为空'),
		);
}